<template>
    <div>
      <table>
        <tr v-for="i in dings">
          <td>{{i.riqi}}</td>
          <td>{{i.danhao}}</td>
          <td>{{i.shou_user}}</td>
          <!--<td></td>-->
          <td>{{i.price}}</td>

        </tr>
      </table>
    </div>
</template>

<script>
  import axios from 'axios'
    export default {
        name: "show_ding",
      data(){
          return{
            dings:""
          }
      },
      mounted() {
          axios({
            url:'http://127.0.0.1:8000/show_ding/',
            method:'get'
          }).then(res=>{
            this.dings=res.data.dings
          })
      }
    }
</script>

<style scoped>

</style>
